package com.lzy.product.apis;

import com.lzy.product.dtos.OrderProjectRecordDto;

import java.util.List;

public interface OrderProjectRecordServiceApi {

    /**
     * 通过订单编号查询订单包含项列表
     *
     * @param id
     * @return
     */
    List<OrderProjectRecordDto> selectOrderProjectRecordByOrderId(Long id);

    /**
     * 新增订单产品包含项记录
     *
     * @param dto
     * @return
     */
    Boolean insert(OrderProjectRecordDto dto);
}
